﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SalienceEngineDemo.Manage_Options
{
    public class OptionGridInfo
    {
        public string option_name;
        public bool isCategory;
        public bool isBool;
        public int FileDirorNone;
        public object defaultVal;
        public List<string> customDrop;
        public string propertyName;

        public OptionGridInfo(string name)
        {
            option_name = name;
            isCategory = true;
        }

        public OptionGridInfo(string name, object defV, string pName)
        {
            option_name = name;
            isCategory = false;
            isBool = true;
            defaultVal = defV;
            customDrop = new List<string>();
            propertyName = pName;
        }

        public OptionGridInfo(string name, int stringType, object defV, string pName)
        {
            option_name = name;
            isCategory = false;
            isBool = false;
            defaultVal = defV;
            propertyName = pName;
            FileDirorNone = stringType;
        }
    }
}
